package com.star.dao;

import org.apache.ibatis.annotations.Insert;

import com.star.model.NewsModel;

public interface NewsDao {

	@Insert("insert into t_news(title,content,img_width,full_title,pdate,src,img_length,img,url,pdate_src,key_news_id,gmt_create,gmt_modified) "
			+ "values(#{title},#{content},#{imgWidth},#{fullTitle},#{pdate},#{src},#{imgLength},#{img},#{url},#{pdateSrc},#{keyNewsId},now(),now())")
	public void createNews(NewsModel newsModel);
}
